﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Comdiv.Model.Interfaces;

namespace Comdiv.Dbfs{
    public interface IFile:IEntityDataPattern, IFileDefinition{
        int Revision { get;  }
        string Tag { get; set; }
        string Hash { get; }
        long Size { get;  }
        IFileContent Data { get; set; }
        bool IsDataLoaded { get;  }
        IFile Target {get;set;}
        string Owner {get;set;}
        string Editor{get;set;}
        DateTime CreateTime {get;}
        DateTime ChangeTime {get;}
        string AccessList {get;}
        bool Deleted {get;set;}
        IList<IFileHistory> History { get; set; }
    
    }
}